package com.magicalcoder.youyaboot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 软件作者：何栋宇 qq:709876443
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:648595928
*/
@Data
public class Survey implements Serializable{

    private Integer id;//查勘编号
    private String reportnum;//报案编号
    private String company;//单位
    private String GuaranreeId;//保单号
    private String licensePlateNumber;//车牌号
    private String engineNumber;//发动机号
    private String vin;//车架号
    private String factoryPlateModel;//厂牌型号
    private String TroubleDriverName;//肇事司机姓名
    private String TroubleDriverPhone;//肇事司机电话
    private String DrivingType;//准驾车型
    private String InsuranceCompany;//承保交强险公司
    private String guaranteeId;//交强险保单号
    private String ThreePlateModel;//三责厂牌型号
    private String ThreeCarNum;//三责车牌号
    private String ThreeDriverName;//三责司机姓名
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp TroubleTime;//肇事时间
    private String TroubleAddress;//肇事地点
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp surveytime;//查勘时间
    private String surveyaddress;//查勘地点
    private String IsFirstSite;//是否第一现场
    private String IsSecondSite;//是否第二现场
    private String AccidentLiability;//事故责任
    private String InvolvedPlanted;//涉及险种
    private String InsuredLiability;//保险责任
    private String TreatmentMethods;//处理意见
    private String LossParts;//损失部位
    private String OtherLosses;//其他损失
    private String Casualties;//人员伤亡情况
    private String Hospital;//所住医院
    private String Departments;//科室
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp AdmissionTime;//入院时间
    private BigDecimal CarLossAmount;//车辆损失金额
    private BigDecimal ThreeLossesMoney;//三责损失金额
    private BigDecimal OtherLossesMoney;//其他损失金额
    private BigDecimal total;//合计
    private Integer TroublePhoto;//事故照片
    private String SurvryBy;//查勘人员
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp TypeinTime;//录入时间
    private String TypeinBy;//录入人员
    private String state;//状态

    
    public Integer getId(){
        return id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public String getReportnum(){
        return reportnum;
    }
    public void setReportnum(String reportnum){
        this.reportnum = reportnum;
    }

    public String getCompany(){
        return company;
    }
    public void setCompany(String company){
        this.company = company;
    }

    public String getGuaranreeId(){
        return GuaranreeId;
    }
    public void setGuaranreeId(String GuaranreeId){
        this.GuaranreeId = GuaranreeId;
    }

    public String getLicensePlateNumber(){
        return licensePlateNumber;
    }
    public void setLicensePlateNumber(String licensePlateNumber){
        this.licensePlateNumber = licensePlateNumber;
    }

    public String getEngineNumber(){
        return engineNumber;
    }
    public void setEngineNumber(String engineNumber){
        this.engineNumber = engineNumber;
    }

    public String getVin(){
        return vin;
    }
    public void setVin(String vin){
        this.vin = vin;
    }

    public String getFactoryPlateModel(){
        return factoryPlateModel;
    }
    public void setFactoryPlateModel(String factoryPlateModel){
        this.factoryPlateModel = factoryPlateModel;
    }

    public String getTroubleDriverName(){
        return TroubleDriverName;
    }
    public void setTroubleDriverName(String TroubleDriverName){
        this.TroubleDriverName = TroubleDriverName;
    }

    public String getTroubleDriverPhone(){
        return TroubleDriverPhone;
    }
    public void setTroubleDriverPhone(String TroubleDriverPhone){
        this.TroubleDriverPhone = TroubleDriverPhone;
    }

    public String getDrivingType(){
        return DrivingType;
    }
    public void setDrivingType(String DrivingType){
        this.DrivingType = DrivingType;
    }

    public String getInsuranceCompany(){
        return InsuranceCompany;
    }
    public void setInsuranceCompany(String InsuranceCompany){
        this.InsuranceCompany = InsuranceCompany;
    }

    public String getGuaranteeId(){
        return guaranteeId;
    }
    public void setGuaranteeId(String guaranteeId){
        this.guaranteeId = guaranteeId;
    }

    public String getThreePlateModel(){
        return ThreePlateModel;
    }
    public void setThreePlateModel(String ThreePlateModel){
        this.ThreePlateModel = ThreePlateModel;
    }

    public String getThreeCarNum(){
        return ThreeCarNum;
    }
    public void setThreeCarNum(String ThreeCarNum){
        this.ThreeCarNum = ThreeCarNum;
    }

    public String getThreeDriverName(){
        return ThreeDriverName;
    }
    public void setThreeDriverName(String ThreeDriverName){
        this.ThreeDriverName = ThreeDriverName;
    }

    public Timestamp getTroubleTime(){
        return TroubleTime;
    }
    public void setTroubleTime(Timestamp TroubleTime){
        this.TroubleTime = TroubleTime;
    }

    public String getTroubleAddress(){
        return TroubleAddress;
    }
    public void setTroubleAddress(String TroubleAddress){
        this.TroubleAddress = TroubleAddress;
    }

    public Timestamp getSurveytime(){
        return surveytime;
    }
    public void setSurveytime(Timestamp surveytime){
        this.surveytime = surveytime;
    }

    public String getSurveyaddress(){
        return surveyaddress;
    }
    public void setSurveyaddress(String surveyaddress){
        this.surveyaddress = surveyaddress;
    }

    public String getIsFirstSite(){
        return IsFirstSite;
    }
    public void setIsFirstSite(String IsFirstSite){
        this.IsFirstSite = IsFirstSite;
    }

    public String getIsSecondSite(){
        return IsSecondSite;
    }
    public void setIsSecondSite(String IsSecondSite){
        this.IsSecondSite = IsSecondSite;
    }

    public String getAccidentLiability(){
        return AccidentLiability;
    }
    public void setAccidentLiability(String AccidentLiability){
        this.AccidentLiability = AccidentLiability;
    }

    public String getInvolvedPlanted(){
        return InvolvedPlanted;
    }
    public void setInvolvedPlanted(String InvolvedPlanted){
        this.InvolvedPlanted = InvolvedPlanted;
    }

    public String getInsuredLiability(){
        return InsuredLiability;
    }
    public void setInsuredLiability(String InsuredLiability){
        this.InsuredLiability = InsuredLiability;
    }

    public String getTreatmentMethods(){
        return TreatmentMethods;
    }
    public void setTreatmentMethods(String TreatmentMethods){
        this.TreatmentMethods = TreatmentMethods;
    }

    public String getLossParts(){
        return LossParts;
    }
    public void setLossParts(String LossParts){
        this.LossParts = LossParts;
    }

    public String getOtherLosses(){
        return OtherLosses;
    }
    public void setOtherLosses(String OtherLosses){
        this.OtherLosses = OtherLosses;
    }

    public String getCasualties(){
        return Casualties;
    }
    public void setCasualties(String Casualties){
        this.Casualties = Casualties;
    }

    public String getHospital(){
        return Hospital;
    }
    public void setHospital(String Hospital){
        this.Hospital = Hospital;
    }

    public String getDepartments(){
        return Departments;
    }
    public void setDepartments(String Departments){
        this.Departments = Departments;
    }

    public Timestamp getAdmissionTime(){
        return AdmissionTime;
    }
    public void setAdmissionTime(Timestamp AdmissionTime){
        this.AdmissionTime = AdmissionTime;
    }

    public BigDecimal getCarLossAmount(){
        return CarLossAmount;
    }
    public void setCarLossAmount(BigDecimal CarLossAmount){
        this.CarLossAmount = CarLossAmount;
    }

    public BigDecimal getThreeLossesMoney(){
        return ThreeLossesMoney;
    }
    public void setThreeLossesMoney(BigDecimal ThreeLossesMoney){
        this.ThreeLossesMoney = ThreeLossesMoney;
    }

    public BigDecimal getOtherLossesMoney(){
        return OtherLossesMoney;
    }
    public void setOtherLossesMoney(BigDecimal OtherLossesMoney){
        this.OtherLossesMoney = OtherLossesMoney;
    }

    public BigDecimal getTotal(){
        return total;
    }
    public void setTotal(BigDecimal total){
        this.total = total;
    }

    public Integer getTroublePhoto(){
        return TroublePhoto;
    }
    public void setTroublePhoto(Integer TroublePhoto){
        this.TroublePhoto = TroublePhoto;
    }

    public String getSurvryBy(){
        return SurvryBy;
    }
    public void setSurvryBy(String SurvryBy){
        this.SurvryBy = SurvryBy;
    }

    public Timestamp getTypeinTime(){
        return TypeinTime;
    }
    public void setTypeinTime(Timestamp TypeinTime){
        this.TypeinTime = TypeinTime;
    }

    public String getTypeinBy(){
        return TypeinBy;
    }
    public void setTypeinBy(String TypeinBy){
        this.TypeinBy = TypeinBy;
    }

    public String getState(){
        return state;
    }
    public void setState(String state){
        this.state = state;
    }
}
